﻿@{
    ViewBag.Title = "首页";
    var strtext = Request.QueryString["text"] ?? string.Empty;
}
@*<div>
        测试:
        @Html.TextBox("text", strtext, new { @class = "form-control" })
    </div>*@
<div class="panel-body">
    <h1 class="panel-title">Controller列表</h1>
    <div alt="treeIdDemo">
        <table class="tree">
            <tr class="treegrid-1">
                <td>Root node</td>
                <td>Additional info</td>
            </tr>
            <tr class="treegrid-2 treegrid-parent-1">
                <td>Node 1-1</td>
                <td>Additional info</td>
            </tr>
            <tr class="treegrid-3 treegrid-parent-1">
                <td>Node 1-2</td>
                <td>Additional info</td>
            </tr>
            <tr class="treegrid-4 treegrid-parent-3">
                <td>Node 1-2-1</td>
                <td>Additional info</td>
            </tr>
        </table>
    </div>
    <div class="switch bootstrap-switch-large">
        <input type="checkbox"/>
    </div>
    <div class="switch" data-on="primary" data-off="info">
        <input type="checkbox" />
    </div>
</div>
@section InitCss{
    <link rel="stylesheet" href="css/jquery.treegrid.css">
    <link rel="stylesheet" href="~/Scripts/bootstrap-switch-master/css/bootstrap-switch.min.css">

}
@section InitScripts{
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery.treegrid.js"></script>
    <script type="text/javascript" src="~/Scripts/bootstrap-switch-master/js/bootstrap-switch.min.js"></script>
    <script type="text/javascript">
        $('.tree').treegrid();
    </script>
}

